package com.nameless.feign;



import com.nameless.entity.Shop;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * -*- coding:utf-8 -*-
 *
 * @author 太阳偷渡青山
 * @software IntelliJ IDEA
 * @date 2023/02/28 13:48
 * @Description
 */
@FeignClient("car-lease-statistics")
public interface CarFeign {
    /**
     * 查询所有门店
     *
     * @return {@link List}<{@link Shop}>
     */
    @GetMapping("/car/api/shop/selectShopAll")
    List<Shop> selectShopAll();
}
